import axios from '../../axios.js';

const register = {
    isHave: function (account) {
        return axios({
            url: '/users/isHave',
            method: "post",
            data: { account }
        })
    },
    register: function (lessors) {
        return axios({
            url: '/users/registers',
            method: "post",
            data: lessors
        })
    },
}
export default register;